import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router'
import routes from './routes'

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes,
    scrollBehavior: () => ({ top: 0, left: 0 }),
})

export default router
